<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Simple Module <i>ChurnGenerator</i></h2>
<b>Package:</b> oversim.common<br/><b>File: <a href="src-common-ChurnGenerator.ned.html">src/common/ChurnGenerator.ned</a></b><br/><p><a href="../doxy/classChurnGenerator.html" target="mainframe"><b>C++ definition</b></a></p>

<p><a href="oversim.common.ChurnGenerator.html">ChurnGenerator</a> base module</p>
<img src="oversim.common.ChurnGenerator-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="oversim.common.ChurnGenerator.html" title="ChurnGenerator" alt="ChurnGenerator" coords="0,0,141,40">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram.
Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.common.ChurnGenerator-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="oversim.common.ChurnGenerator.html" title="Simple Module ChurnGenerator" alt="" coords="389,83,504,111">
<area shape="rect" id="node2" href="oversim.underlay.inetunderlay.InetUnderlayNetwork.html" title="Network InetUnderlayNetwork" alt="" coords="5,6,149,34">
<area shape="rect" id="node4" href="oversim.underlay.inetunderlay.InetUnderlayNetwork6.html" title="Network InetUnderlayNetwork6" alt="" coords="173,6,325,34">
<area shape="rect" id="node6" href="oversim.underlay.reaseunderlay.ReaSEUnderlayNetworkBase.html" title="Compound Module ReaSEUnderlayNetworkBase" alt="" coords="349,6,544,34">
<area shape="rect" id="node8" href="oversim.underlay.simpleunderlay.SimpleUnderlayNetwork.html" title="Network SimpleUnderlayNetwork" alt="" coords="568,6,731,34">
<area shape="rect" id="node10" href="oversim.underlay.singlehostunderlay.SingleHostUnderlayNetwork.html" title="Network SingleHostUnderlayNetwork" alt="" coords="755,6,941,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram.
Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="oversim.common.ChurnGenerator-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="oversim.common.ChurnGenerator.html" title="Simple Module ChurnGenerator" alt="" coords="219,6,333,34">
<area shape="rect" id="node2" href="oversim.common.LifetimeChurn.html" title="Simple Module LifetimeChurn" alt="" coords="5,83,107,111">
<area shape="rect" id="node4" href="oversim.common.NoChurn.html" title="Simple Module NoChurn" alt="" coords="131,83,205,111">
<area shape="rect" id="node6" href="oversim.common.ParetoChurn.html" title="Simple Module ParetoChurn" alt="" coords="229,83,323,111">
<area shape="rect" id="node8" href="oversim.common.RandomChurn.html" title="Simple Module RandomChurn" alt="" coords="347,83,453,111">
<area shape="rect" id="node10" href="oversim.common.TraceChurn.html" title="Simple Module TraceChurn" alt="" coords="477,83,568,111">
</map>
<h3 class="subtitle">Known subclasses:</h3>
<table>
<tr>
   <td>
      <a href="oversim.common.LifetimeChurn.html">LifetimeChurn</a>
      <i> (simple&nbsp;module)</i>
   </td>
   <td>
<i>(no description)</i>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.common.NoChurn.html">NoChurn</a>
      <i> (simple&nbsp;module)</i>
   </td>
   <td>

<p>No churn generating class (only bootstraps a networks)</p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.common.ParetoChurn.html">ParetoChurn</a>
      <i> (simple&nbsp;module)</i>
   </td>
   <td>

<p>Lifetime churn based on shifted pareto distribution</p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.common.RandomChurn.html">RandomChurn</a>
      <i> (simple&nbsp;module)</i>
   </td>
   <td>

<p>Random churn generating module</p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.common.TraceChurn.html">TraceChurn</a>
      <i> (simple&nbsp;module)</i>
   </td>
   <td>
<i>(no description)</i>
   </td>
</tr>
</table>
<h3 class="subtitle">Used in compound modules:</h3>
<p>If a module type shows up more than once, that means it has been defined in more than one NED file.</p>
<table>
<tr>
   <td>
      <a href="oversim.underlay.reaseunderlay.ReaSEUnderlayNetworkBase.html">ReaSEUnderlayNetworkBase</a>
      <i> (compound&nbsp;module)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.reaseunderlay.ReaSEUnderlayConfigurator.html">ReaSEUnderlayConfigurator</a></p>
   </td>
</tr>
</table>
<h3 class="subtitle">Networks:</h3>
<table>
<tr>
   <td>
      <a href="oversim.underlay.inetunderlay.InetUnderlayNetwork.html">InetUnderlayNetwork</a>
      <i> (network)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html">InetUnderlayConfigurator</a></p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.underlay.inetunderlay.InetUnderlayNetwork6.html">InetUnderlayNetwork6</a>
      <i> (network)</i>
   </td>
   <td>

<p>The InetUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.inetunderlay.InetUnderlayConfigurator.html">InetUnderlayConfigurator</a></p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.underlay.simpleunderlay.SimpleUnderlayNetwork.html">SimpleUnderlayNetwork</a>
      <i> (network)</i>
   </td>
   <td>

<p>The SimpleUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.simpleunderlay.SimpleUnderlayConfigurator.html">SimpleUnderlayConfigurator</a></p>
   </td>
</tr>
<tr>
   <td>
      <a href="oversim.underlay.singlehostunderlay.SingleHostUnderlayNetwork.html">SingleHostUnderlayNetwork</a>
      <i> (network)</i>
   </td>
   <td>

<p>The SingleHostUnderlay ned-file </p>
<p><b>See also:</b> <a href="oversim.underlay.singlehostunderlay.SingleHostUnderlayConfigurator.html">SingleHostUnderlayConfigurator</a></p>
   </td>
</tr>
</table>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">targetOverlayTerminalNum</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of nodes after init phase</p>
   </td>
</tr>
<tr class="local">
   <td width="150">initPhaseCreationInterval</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>node creation interval in init phase</p>
   </td>
</tr>
<tr class="local">
   <td width="150">noChurnThreshold</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>if the lifetimeMean of a specific
churn generator exceeds this,
<a href="oversim.common.NoChurn.html">NoChurn</a> is used instead</p>
   </td>
</tr>
<tr class="local">
   <td width="150">channelTypes</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>used (tx) access technologies (from common/channels.ned)</p>
   </td>
</tr>
<tr class="local">
   <td width="150">channelTypesRx</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120"></td>
   <td>
<p>used (rx) access technologies (from common/channels.ned)</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>i=block/timer</i></td>
   <td></td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">//
// ChurnGenerator base module
//
</span><span style="color: #800000; font-weight: bold; ">simple</span><span style="color: #000000; "> </span><span style="color: #000000; ">ChurnGenerator</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">int</span><span style="color: #000000; "> </span><span style="color: #000000; ">targetOverlayTerminalNum</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// number of nodes after init phase
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">initPhaseCreationInterval</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">s</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// node creation interval in init phase
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">double</span><span style="color: #000000; "> </span><span style="color: #000000; ">noChurnThreshold</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@unit</span><span style="color: #000000; ">(</span><span style="color: #000000; ">s</span><span style="color: #000000; ">); </span><span style="color: #808080; font-style: italic; ">// if the lifetimeMean of a specific
</span><span style="color: #000000; ">                                          </span><span style="color: #808080; font-style: italic; ">// churn generator exceeds this,
</span><span style="color: #000000; ">                                          </span><span style="color: #808080; font-style: italic; ">// NoChurn is used instead
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">channelTypes</span><span style="color: #000000; ">;   </span><span style="color: #808080; font-style: italic; ">// used (tx) access technologies (from common/channels.ned)
</span><span style="color: #000000; ">        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">channelTypesRx</span><span style="color: #000000; ">; </span><span style="color: #808080; font-style: italic; ">// used (rx) access technologies (from common/channels.ned)
</span><span style="color: #000000; ">        </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;i=block/timer&quot;</span><span style="color: #000000; ">);
}
</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
